package engine.network.hostSide.enums;

public enum SpectReq {
	REFRESH("F5F5"),WRONG_CMD("error ...");
	
	private String _label;
	public String label(){
		return _label;
	}
	private SpectReq(String s) {
		_label = s;
	}
	
	public static SpectReq factory(String s){
		SpectReq req= WRONG_CMD;
		if(s.equals(REFRESH._label)){
			req = REFRESH;
		}
		return req;
	}
}
